<?php
namespace app\facade;

use think\Facade;


class UserGroup extends Facade
{
    const COMMON = 1;
    const BANWEI = 2;
    const XIAOBAN = 4;
    const SYSTEM = 8;

    const MoneyPost = UserGroup::BANWEI | UserGroup::XIAOBAN | UserGroup::SYSTEM;
    const AdminSys = UserGroup::BANWEI | UserGroup::XIAOBAN | UserGroup::SYSTEM;

    const ScoreAdmin = "score_admin";

    public static function UidPower($power) {
        switch($power) {
            case UserGroup::ScoreAdmin:
                return [21,29];
        }
        
    }
}